﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SedionFormDesigner.Serializer.BasicStruct
{
    public class SpjgElement : ElementModel
    {
        private string _name;
        private string _dept;
        private string _duty;
        private string _spjg;
        private string _spyj;
        private string _sprq;
        private int _maxheight;
        public SpjgElement(String template, string name, string dept, string duty, string spyj, string sprq, string spjg, int height)
        {
            base.template = template;
            _name = name;
            _duty = duty;
            _dept = dept;
            _spyj = spyj;
            _sprq = sprq;
            _spjg = spjg;
            _maxheight = height;
        }

        public override string ToString()
        {
            return string.Format(base.template, _name, _spjg, _sprq, _spyj, _maxheight + 30, _maxheight + 50, _maxheight + 70);
        }


    }
}
